let Token = ''
let Platform = ''
let UserType = ''

uni.getStorage({
	key: 'token',
	success: function(res) {
		console.log(res, '>>>token');
		Token = res.data
	},
	fail: function(err) {
		console.log(err)
	}
});
uni.getSystemInfo({
	success(res) {
		Platform = res.platform
	}
});

uni.getStorage({
	key: 'userInfo',
	success(res) {
		UserType = res.data.userType
	}
})

const RequestURL = {
	// localURL: 'http://192.168.0.105:8081',
	// localURL: 'http://192.168.10.147:9998',
	// localURL: 'http://192.168.10.235:8081',
	localURL: 'http://106.13.97.93:8081',
	token: Token,
	platform: Platform,
	userType: UserType
}

export default RequestURL
